import Vue from './src/vue.js'
window.vue = new Vue({
  el: '#app',
  data: {
    name: '我是name',
    text: '我是text',
    html: '<button>我是button</button>',
    hello: {
      a: 1
    },
    show: true
  },
  methods: {
    click() {
      this.name = '我是名称'
      this.text = '我是文本'
    },
    change(e) {
      console.log(e)
    }
  },
  created() {
    setTimeout(() => {
      this.name = '我是ok'
      this.show = false
    }, 2500)
  }
})